%option noyywrap

%%

" "            {printf("&nbsp;");}
"<"            {printf("<");}
">"            {printf(">");}
"\n"           {printf("<br>");}
"\t"           {printf(" &nbsp;&nbsp;&nbsp;&nbsp;");}
"quit"         {return;}

%%

int main()
{
    printf("<FONT face=\"Courier New\" size=2>");
    yylex();
    printf("</FONT>");
} 